<?php

/**
 * @author [TinyBear]
 * @copyright 2011
 * @action 系统基础配置类
 */

header('Content-Type:text/html;charset=utf-8'); 
date_default_timezone_set("Asia/Shanghai");
session_start();
error_reporting(0);

//URLs
$config['oauth_request_token'] = 'https://open.t.qq.com/cgi-bin/request_token';
$config['oauth_authorize'] = 'https://open.t.qq.com/cgi-bin/authorize';
$config['oauth_access_token'] = 'https://open.t.qq.com/cgi-bin/access_token';

//Callback 
$oURI = explode("authorization",$_SERVER['PHP_SELF']);
$config['oauth_callback'] = "http://".$_SERVER ['HTTP_HOST'].$oURI[0]."success.php";


//DB

define('UC_DBHOST', 'localhost');
define('UC_DBUSER', 'root');
define('UC_DBPW', '');
define('UC_DBNAME', 'bdsp');
define('UC_DBCHARSET', 'utf8');
define('UC_DBTABLEPRE', 'sp_');
define('UC_DBCONNECT', 0);


?>
